define(
	[
	appBasePath + '/app-center/module.js',
	],
	function (appListModule) {

    'use strict';

    appListModule.controller('AppList.DashboardController', [
    	'$state',
        '$scope',              
        function($state,$scope) {
    		$scope.appIcons = {
				"demoApp" : appBasePath + "/scripts/resources/demo-icon.png",    				
			};    		
    		
    		$scope.getAppIcon = function(name){
    			return $scope.appIcons[name];
    		};
    		
    		$scope.goToDemo = function(name) {
    			$state.go(name);
    		}
        }
    ]);
});